package notifiers;

import models.CheatingCase;
import play.mvc.Mailer;

public class Mails extends Mailer {

	public static void blame(CheatingCase c, String message, String cc) {
		setSubject("Your cheating case review");
		addRecipient(c.s1.student.email);
		addRecipient(c.s2.student.email);
		String[] ccs = cc.split(",");
		for (String ccer : ccs) {
			addRecipient(ccer.trim());
		}
		setFrom("g-beehive@guc.edu.eg");
		send(message);
	}
}
